import request from "@/api/request.js"
function productDetail(id){
	return request({
		url:`/lejuClient/product/productDetail/${id}`
	})
}


function addPreOrder(data){
	return request({
		url:`/lejuClient/order/addPreOrder`,
		method:"post",
		data
	})
}
function getPreOrderById(id){
	return request({
		url:`/lejuClient/order/getPreOrderById/${id}`
	})
}
export {
	productDetail,
	addPreOrder,
	getPreOrderById
}